{template common/contentheader} 
<div class="setcontent">
	<div class="settitle">
		<h3>{lang permission_edit:admin}-$group['usergroup_name']</h3>
	</div>
	<div class="setform">
		<form class="pzform" method="post" action="{url admin/usergroup?act=permission&type=$type&submit=1&gid=$group['usergroup_id']}" id="addform">
			<div class="formgroup">
				<label class="formlabel">{lang allowvisite:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowvisite" value="-100" {if $group['allowvisite']=='-100'}checked{/if}>{lang allowvisite_no:admin}</input>
              		<input type="radio" name="allowvisite" value="100" {if $group['allowvisite']=='100'}checked{/if}>{lang allowvisite_normal:admin}</input><br/>
              		<input type="radio" name="allowvisite" value="200" {if $group['allowvisite']=='200'}checked{/if}>{lang allowvisite_super:admin}</input>
				</div>
				<span class="formhelp">{lang allowvisite:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowmessage:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowmessage" value="1" {if $group['allowmessage']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowmessage" value="0" {if !$group['allowmessage']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowmessage:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowpost:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowpost" value="1" {if $group['allowpost']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowpost" value="0" {if !$group['allowpost']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowpost:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang postverify:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="postverify" value="1" {if $group['postverify']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="postverify" value="0" {if !$group['postverify']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang postverify:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowcomment:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowcomment" value="1" {if $group['allowcomment']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowcomment" value="0" {if !$group['allowcomment']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowcomment:admin}</span>
			</div>
			
			<div class="formgroup"> 
				<label class="formlabel">{lang allowupload:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowupload" value="1" {if $group['allowupload']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowupload" value="0" {if !$group['allowupload']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowupload:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowat:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowat" value="1" {if $group['allowat']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowat" value="0" {if !$group['allowat']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowat:admin}</span>
			</div>
			<div class="formgroup">
				<label class="formlabel">{lang ignorecensor:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="ignorecensor" value="1" {if $group['ignorecensor']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="ignorecensor" value="0" {if !$group['ignorecensor']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang ignorecensor:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowposturl:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowposturl" value="0" {if $group['allowposturl']=='0'}checked{/if}>{lang allowposturl_banned:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="1" {if $group['allowposturl']=='1'}checked{/if}>{lang allowposturl_mod:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="2" {if $group['allowposturl']=='2'}checked{/if}>{lang allowposturl_notlink:admin}</input><br/>
              		<input type="radio" name="allowposturl" value="3" {if $group['allowposturl']=='3'}checked{/if}>{lang allowposturl_allow:admin}</input>
				</div>
				<span class="formhelp">{lang allowposturl_tip:admin}</span>
			</div>
			
			<div class="formgroup">
				<label class="formlabel">{lang allowdownload:admin}:</label>
				<div class="formcontrol">
					<input type="radio" name="allowdownload" value="1" {if $group['allowdownload']}checked{/if}>{lang yes:admin}</input>
              		<input type="radio" name="allowdownload" value="0" {if !$group['allowdownload']}checked{/if}>{lang no:admin}</input>
				</div>
				<span class="formhelp">{lang allowdownload:admin}</span>
			</div>
			
			
			<div class="formbuttons">
				<button type="submit" class="btn btn-primary">{lang save:admin}</button>
			</div>
		</form>
	</div>
</div>
{template common/contentfooter}